//void load();
void load()
{
    FILE *fp;
    int i;
    if(fp = fopen("file1.txt","r"))
    {
       fprintf(stderr,"cannot open file");
       return;
    }

    for(i = 0; i < SIZE; i++)
    {
        if(fred(&stud[i], sizeof(struct student_st), 1, fp) != 1)
        {
            if(feof(fp))
            {
                fclose(fp);
                return;
            }
            fprintf(stderr,"file read error!");
        }
    }
    fclose(fp);
}

// main()
// { 
//    load();
//    save();
// }
